<table cellpadding=0 cellspacing=0 class="dTable">
    <thead>
        <tr>
            <th class='hidden'></th>
            <th>订单编号</th>
            <th>下单人</th>
            <th>订单总金额</th>
            <th>支付金额</th>
            <th>优惠金额</th>
            <th>商品信息</th>
            <th>状态</th>
            <th>下单时间</th>
        </tr>
    </thead>
    <tbody>
        {strip}
            {section name=oi loop=$orderlist}
                <tr {if $smarty.section.oi.index is odd by 1}class="odd"{/if}>
                    <td class='hidden'>{$orderlist[oi].order_id}</td>
                    <td>{$orderlist[oi].serial_number}</td>
                    <td>{$orderlist[oi]['uinfo'].client_name} | {$orderlist[oi].exptime}</td>
                    <td class="prices font12">&yen;{$orderlist[oi].order_amount}</td>
                        <td class="prices font12">&yen;{$orderlist[oi].pay_amount}</td>
                        <td class="prices font12">&yen;{$orderlist[oi].order_amount-$orderlist[oi].pay_amount}
                        | {if $orderlist[oi].pay_type == '0'}
                             微信支付
                          {else if $orderlist[oi].pay_type == '1'}
                             余额支付
                          {else if $orderlist[oi].pay_type == '2'}
                            微信+余额支付
                          {else if $orderlist[oi].pay_type == '3'}
                            线下现金支付
                          {/if}
                    </td>
                    <td>
                        <a class="od-list-pdinfo fancybox.ajax" 
                           data-fancybox-type="ajax" 
                           href="{$docroot}?/WdminAjax/loadOrderDetail/id={$orderlist[oi].order_id}">点击查看  |  {$orderlist[oi].product_count} 件</a>
                    </td>
                    <td class="orderstatus {$orderlist[oi].status}">{$orderlist[oi].statusX}</td>
                    <td>{$orderlist[oi].order_time}</td>
                </tr>
            {/section}
        {/strip}
    </tbody>
</table>